package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.EmployeeRoleReleationMapper;
import com.ruoyi.system.domain.EmployeeRoleReleation;
import com.ruoyi.system.service.IEmployeeRoleReleationService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-12-13
 */
@Service
public class EmployeeRoleReleationServiceImpl implements IEmployeeRoleReleationService 
{
    @Autowired
    private EmployeeRoleReleationMapper employeeRoleReleationMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param id 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public EmployeeRoleReleation selectEmployeeRoleReleationById(Long id)
    {
        return employeeRoleReleationMapper.selectEmployeeRoleReleationById(id);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param employeeRoleReleation 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<EmployeeRoleReleation> selectEmployeeRoleReleationList(EmployeeRoleReleation employeeRoleReleation)
    {
        return employeeRoleReleationMapper.selectEmployeeRoleReleationList(employeeRoleReleation);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param employeeRoleReleation 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertEmployeeRoleReleation(EmployeeRoleReleation employeeRoleReleation)
    {
        return employeeRoleReleationMapper.insertEmployeeRoleReleation(employeeRoleReleation);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param employeeRoleReleation 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateEmployeeRoleReleation(EmployeeRoleReleation employeeRoleReleation)
    {
        return employeeRoleReleationMapper.updateEmployeeRoleReleation(employeeRoleReleation);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param ids 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteEmployeeRoleReleationByIds(Long[] ids)
    {
        return employeeRoleReleationMapper.deleteEmployeeRoleReleationByIds(ids);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param id 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteEmployeeRoleReleationById(Long id)
    {
        return employeeRoleReleationMapper.deleteEmployeeRoleReleationById(id);
    }
}
